<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions">
<body>
<div style="width:100%;font-size:36px;line-height:48px;background-color:navy;color:white">My Facelet Application</div>
<!--  
<div style="font-size:24px;line-height:48px;background-color:white;color:black" align="right">登出</div>
-->
<div>
	<table>
		<tr>
			<td>
				<c:set var="userName" scope="session" value="#{fn:length(headerController.userName)}" />
				<c:if test="${userName ne 0}">
					使用者名稱：
					<!-- 
					<p:outputLabel value="#{headerController.userName eq '' ? '' : headerController.userName}" />
					 -->
					 <p:outputLabel value="#{headerController.userName}"/>
				</c:if>
			</td>
		</tr>
	</table>
</div>
</body>
</html>
